import pytesseract

from PIL import Image

pytesseract.pytesseract.tesseract_cmd=r'C:\www\Tesseract-OCR\tesseract.exe'

image = Image.open("a.jpg")
text = pytesseract.image_to_string(image,lang='chi_sim')
print(text)